finalized cli-client