replaced if array.find {} with if array.any? {}