Added distance collection stuff