Basic feature extraction