refactoring curvature of mouth