added ignore case option