added case normalization flag and handling.