downcase was previously consolidated above