add TZ Search in encoder