stop when count == 10000