simplified C2.dual function