working on debug.py