Return maintype ifs