working on handlebars implementation