Saving Matrix search