Mistake in output code