better static resource management