added static and templates