rearrange runCode args