added master/slave view