feature extraction method added
feature extraction impl-d