implemented priority accumulator