add serial code
add serial code