working on max page loop
successfully scraping multiple pages