added static and template