Defining proper domain model