implement sample template