Added delete queue and finished it