added support for comparators (==, !=, etc.)