Trying forum code for array of arrays