added an initial service api