added >>&& and >>||