improving resource allocation