new example - need some work for stdou and stderr