used a NULL db pointer to resolve the function signature prob in search checks--clean up later.  now compiles