pre deleting