added support for surface-func.x