Are all of those variable declarations inside setup()? The go out of scope as soon as setup finishes.