added $concat, $reindex and initiation with array