add template on sample