Removed the forloop from tpl