tresholdDistance set to 15