set masters attribute