updates to get the search working.