Wrapped Jon's search code.