Add AC functionality