the previous commit worked but hurt my brain. i feel slightly more confident i understand why this works now. maybe. ish. blugh.