edit to getCoords