cast to array, rather than set inside array