refactor documentation