added ; to the end of variables and added variable for totalgrocery