Removed Templete/Text from the loop and assign it afterwards