Added showCoordinates function