added queue delete method