changed the macro for the master domain