distance works
issue id #7