Implemented serial communication