usange of type()