Simplify surface.cpp pt. 4