Implemented template for simulations.