docs refactoring