added template for simulation