looks like I broke this when switching to named variables