Porting ac (12/27)

Porting ac