refactor docs