ArrayRepository now implements a interface