Simplify code, always delete at the end.