got the queueing working