Added function to model data type