Antibacterial and anti-mildew function