make callback block optionals
example of a telnet chat