it's the code from library I downloaded
but
the default code is serial 2 and 3, but I use pin 0 and 1 on my Arduino, so I modify it to 0 & 1.
So it is not actually the code from the library at all.
Why not use pins 2 and 3 for SoftSerial as in the example, leaving hardware serial free to print messages to the serial monitor.