working versions of split and sweep