add mode_alarm, negate bit still unclear