tr simulation now works