ain class