cli
simplify arrays