Fixed the arrays to be non-associative.