create greetPrinter outside of scheduler