init the code data