change from class to data type