restarting template