Refactored as function.  Added additional greetings.