use `auto iter` to simplify our codes.