added options to feature extraction