added code for finding/displaying the coords