corrected onoffdiagram chart