saving master to banch