added case-insensitive-string-comparison