added additional functionality to the client module