add scala based extractor