by having different solubility of the foaming agent