updated the simulation code and insert the ICP

ICP is for Shen zhenhua