implenment get_all_features with a simple feature extraction algorithm