Rubocop

do not merge yet, just source for discussion.
The commit e8445893cb1d4177fd0683ca600138070070c368 claims to use `next` but it also uses `break` without explanation.