got rid of the accumulator abstraction. bad idea.