plugging the cpg in the simulation
last changes