Tstates is now a signed int var