create template program