prepare to recode client adapter