miner is now a generator, don't call items() method.