refactoring CLIDisplay