moved mesh to component of model