why `i++` was changed to `++i`?