program vs alarmhandler compatibility