`select { |c| !c.nil?}` is equivalent to `compact`