Finished extractor.py