fixed a mistake in the example