That doesn't seem to be your only typo. Please use copy&paste to copy your actual code.

In programming, every single character can be the difference between a program working and failing. It's not efficient at all to work with something that vaguely looks like your real code, but gets some details wrong.