added split transaction functionality