Modified ToUpperCase class