serial sample program.