Added Patrick's original upcase program.