moved to MapCoords struct