rewrite multichannel Simple_write class