Saving the coordinates correctly.