refactor(template): refactored for style