add split3 functionality