added few things to client.py