Loop template added