add logical operators