still no solution for meshes. Current code is the wrong way.