deleted the extra copy of the CLI code