change the code struct

change the code struct