Setting things up for secorrect simulation.