working on making table of distances