switched channel to deque