added coordinates on click