reorganise doc