implemented another method in the client