simplify splitState