adding static and templates