2 heuristic algo's