Finish up the queue implementation