got ac, but still some problem, solving