notes on domain model