with intermediate conversion into ac