additional command line args to include distance function