Removed unnecessary toUpper.