Two kinds of modified queues