made corrections so the example will run

When I modified the base classes today it broke the example.
Corrections made.