added getCoordinates() function and the data necessary to run it