modify data type of list