almost there with the mesh generation.