Added serial transmission functions