working on the extractor class