for master/slave applications