creation of master