the queue is FILO, not FIFO... fixed some comments