main scraper written