Make it possible to reset distance