better api docs