Fixed call to displayalldistancs..added an s to the function name