changes to categorys extractor