populate templates with real data