ew mechanism of ac