search with linear