removed delete mesh function