Porting ac (1/27)

Porting ac