support peeking at the top of the queue