added node comparator