develop the template