Move variable assignment to the top...

ABOVE the methods.