add helper functions for aiMesh access