change data type and unit test