getting the related info to the page