it applies the template but only once