added the choice of split