the distances task