added changeheight for coordinates