Defining the service interface