Contract foaming