Modifications for the saveSurfaceFOrms method