modify R to C dispatcher