refactors docu