create serial_char and serial_string struct