added touppercase function