get the data we need on the page