add method in client