Make base repository