add case insensitivity to upcase_method