added code smell sample; local variable scope sample