added diet variables from API on load