adding arduino serial code