fixing up this example