added heuristic evaluation