removed IO from greetAuto