Small mistake in the code