a bit more work on the queue type enum