Using select instead of each_pair