amend HeartbeatAlert, which can work now