implementing stat scraping