Extracting the features