more serial i/o examples