corrected mistake in expected ks