changes to form1, it displays the coordinates