set type with symbol