add static and templates