printing expressions before on delete operation