change to ***this.master = new Master(masterName);***