ENCODING SET ON MODEL