revert new api

- revert commit "whatever" :p