implement domain demo