first template setup