remove unused method
remove unused variable
removed unused variable

also, i'm not sure why you'd ever want
to define a variable undefined as that would
be its default value.
remove commented out code