changed data type in domain class