Adding debug heartbeat