adding stdin example