use util function for randomly selecting array elements
quote: when searching, pick a random result instead of the first match