edit the splitting functionality