1st draft at templating system