working on api documentation