modify the heartbeat analyzer