add master and slave
back master