Changed both queues to Vectors