refix comparator? untested