inner loop error tolerance can be a command line arg now