added split and union
bug fix for cons. faster fromList