Defined the service interface