moved template to data file