queues and structs all working