adding heuristic doc