Wrote search class and plugged in most variables.  Problem exists with objclass.