add hbs processing