changed array concatenation