tri-state output: Tagger

modify tagger to work with the tri-state output