first ac
second ac solution