you removed **kw from the signature above, so if kw is not empty, this is broken.