extending collection: added method to search in array of values