added viewAll mode