Modified the node model