- break lines before delete
- use auto
follow Dima's advice and rewrote with less lines