runCode reorg for poc7