Added heuristic