Fixed variable name in b.
Removed unused code.
It's a bad idea to use the serial line before initializing it.