latest search code