Modified getDestinationOf()
On the way of implementing getDestinationOf()