moved static and templates