adding type setting