Need to add a size limit check here to stop trivial DoS.
Prototype printing out of results.