more work on feature extraction