added Domain class