Switch code to greet with no parameter.