updated viewQueue()