add some api docs