added synchronous serial read