added api interface