move to handlebars templates