Changed heuristic to _heuristic