use Enumerable#first instead of Array#select