added additional logging to store distance information as it is
calculated