got calcFoods in function.py to work