add DistributedReader.write method for BC example