Updated wSearch.c