get & set type