some api modifications