Added the queue controller