changed search for upcase