added debug info to TAC output