changed how name and distance are displayed