add localhost as master