found a bad mistake in p_c