Should be `r = int(raw['r'])`