use global style and template