Add ad hoc as a modifier.
Add heuristic as a noun.