createCodeTree done