changed the way the default comparator is accessed