currently just using distance
currently just using distance