improved apidoc