Starting splitting code