Switch data type