problem is that array of array approach is not preserving the order of the random element index within chose5 function