figured out a better handlebars implementaiton. notes in evernote