added trial order tracking