removed 2nd pass in search