making a helper class to make the curved mesh