for direct serial communication