class data and diet