minor changes in rw1_comp