add logical operator