refactor baud rate to #define