added arduino serial code