refactoring display of performance