preliminary test for searching