src/distance-arg.c implemented