Added tsNode class