how to define a serial inputString