changing data types to value domain