Added active field for nodes