It works!

Sort of.

Removed refrence to nonexistent variable.