redoing the food coding stuff