added reference to the queue