how is distance being defined?