added getCoordinate