implemented master