minor refactoring to make tolerances private