Added case insensitive option