Defining the client