doc refactor