adding debugs to calc.py