add dumping statistics with spawner