fixing examples with good code.