pass more into functions so `this` isn't needed