support for attaching/detaching from ROPWM