print state in runner.py