add Path method to client