search code rev2