addded template directory