Filling out the template