preparing for simulation part