Removing extra code from the end of this example.