change the condition for the string to equalsIgnoreCase