TODO - Add code for calculating distance.