boolean-CaseOf version added