implemented parallel search model