working on comparators [broken]