allocation of available resources