delete method changed