running up to 10000