added support for sending back meshes