statics and templates