tweaking the distance