updated serial to read, untested