Initial (incomplete) implementation of tnet state machinery