Logical operator modified