implemented fake api interface