base repository