updated extractors.py (not yet working)