Actually call the heuristic functions