Add commented out heuristic functionality