use to_enum in place of Enumerator.new