Added reset the net code