I don't know how it was working either, but it was. Anyway, I updated the code to use `bind` as suggested above.