works for 100, 1000, 10000