basic setup for search