added a simple StatisticsConsumer