adding greetings code to app