last version of the feature extraction module