maintain unique distances
automatically fetch previously-entered distances