refactors documentation