adding info to adapt the tolerance