updated the examples to be cleaner