Added serial read/write