intial setup for search