Added the queue-peek function