got the coordinate valued from the map back to the save functionality