Why emitting queues one by one? Why not just write the whole list?