moved InMemoryResultAccumulator