adjusted stuff to get the coordinates in the entrypage.