template prepared