refactor: rename loop variable