detailed flow diagram - Search