add design of code translation