Move this on the line 467 (above the `for`)