added sqrt to really have a distance.