add if state == 'up': for -vv output support