adding a way to change the client