added slave and master views