Corrected mistake in functions example