cracked the getParams code finally.  Now debugging search itself