getting setup for search