smokers problem example added