Starting generic impl., using arrays to test.