error- had wrong variable name
1st working version of search