handling data type