getCoordinates() working