replaced occurrences of master/slave terminology with leader/follower