making tolerance an attribute as well, so we can possible make it an option in the future.