added functionality to Domain Classes
added functionality to Domain Classes