new format for feature functions