work on sample templates