Fixed major bug. Uninitialized variable.