Started feature extraction code