working on the client module