refactor: one line is not use `do ~ end`