lists as queues