@dianzhen_c@new method to get 'distance'