deprecated terminal.py and removed