filling in templates with real data