implemented create master from instance