better heuristics