better compil with statics