Added sampling state to the node