Adding master slave data to domains routine