feature extractor now uses the correct set_X function to write