Added searchText method