The effect of catalysts on foaming