some improvements (e.g. fairness mechanism for cache)