simplifying by way of handlebars