Modified crawl and extract for function implementation