learning arrays