change move coordinates to be saved as an object