process of implement the template