encoder interface update step1