write documents of exported methods