add parameters to simulation
ta1 can call to ta2
some changes