add the page fetch code