mainSearch