get the data types right