adding type()