changed the scope of dietary preference functions