Inline suppress two remaining "Don't make functions within a loop." errors
- we're doing this because it'll be a bit trickier to pass all the arguments easily