serial communication unfinished