now works with upcase/downcase