heuristic one correct but slow