removed old code from telnet_class