skeleton of the feature extractor