enhance outsourced validator, add code splitter