resturucturing repository