Modified split code