serial prog for testing the serial