Updated example #6 which had an error in it