fix: has to use a comparator