moved status class functions to handlebars templates