compileCode organizing