add MasterSlave model