setup for search stage