transient part added inside leg.py,leg_transient_inst.py runs