pep8
Distance should be the second element of the tuple.