merge the two queue_structures into a single file