refactored curves and surfaces