one method to upcase appropriate characters and remove underscores