Defining the endpoint Interface