The invention relates to a method for improving the foaming and/or yield value properties associated with surfactant containing compositions comprising at least one anionic surfactant, the method comprises combining an effective amount of at least one nonionic, amphiphilic polymer with at least one anionic detersive surfactant in combination with an optional surfactant selected from amphoteric surfactants, nonionic surfactants and combinations of two or more thereof. The at least one nonionic amphiphilic polymer is prepared from a free radically polymerizable monomer composition comprising at least one hydrophilic monomer and at least one hydrophobic monomer, wherein said hydrophilic monomer is selected from a N-vinyl lactam and wherein said hydrophobic monomer is selected from a vinyl ester of a C1-C22 carboxylic acid or at least one monomer selected from a C8-C22 alkyl (meth)acrylate an associative monomer, a semi-hydrophobic monomer, or mixtures thereof, and an optional crosslinking monomer.