start to prepare for search