added template dir