adding function to scrape submissions