improve IO method data types