better api doc