added max-walk-distance as options