add serial communication function