changed serial library.  Proper flushing