rename chat to client
code print problems