first attempt at converting the scrape