Delete queue2 function