add some functionality to client