consolidated code into a searchProcedure() method.  However, this method
does not serve well the search table, only individual searches