added  ignoring case to string comparisons