formatting fix
make serial stuff a bit more efficient