getting the coordinates