added function destinationDistanceArray