better resource allocation