scrape function 50% fucntional