removed redundant call to write_cb2 (nw)