Making the client