extracted greeting into helper