Can be done each time, since you always cast to array if you apply my suggestion