better cli processing