added groupBy to foods list so no duplicates appear