travel mode logic