Added the retrieval of the coordinates.