Search function with start of details