AC solution to p1008