Bisamidines can be assembled on self-assembled monolayers of mercaptoalkanoic acids on gold to form stable and ordered but pH-switchable layers (see diagram). At basic pH the layers are stable and charge selective towards charged surfactants and plasma proteins. The system can potentially be used to reversibly introduce new surface properties for given applications that use one single substrate.