example, how to call method from client