added template directory