changed method name 'getGreeting' to 'displayGreeting'