improved the cli