added methods to client class