add and document the queueutils