Removed couts and reading thresh from CLI