How to use tpt.el.####.state=####