added api access to service