Porting ac (11/27)

Porting ac