Added serial code
Added serial code