Updates to examples and adding example 2