updating logic of smoke example to match tuffy