final version of the scraper