Why do you have `y` assigned here, but then below you bind `y` using `self.kwds['y']`?