changing hierarchie of doc