add console input to helloworld code