type helpers