Change the data struture feature_item and modify the add_feature function