added sim.tcl