Replacing template data with our data