add heartbeat case