now populates a mesh with data