trying custom field to data type conversion