added working code to read and save serial data