Removed TTY stuff