added DefaultDistance