tour logic