redo repo structure