restructur repo