added print statements to TCPServer