Incorporate distance and print within'