Use subclass of int to represent the status of the node.