small doc refactor