removed commented-out search code that didn't work