displayResult in Main changed, display classes made