works on the page details extraction part