adding delete queue method