added NodeID comparator