compare distance operational