test some api syntax