refactored bt templates