total function on threaded paralell tracks, need to create object to qeue data to tree to avoid simultaneous data colision