simplify split and comments