Fixed mistake in example code