added viewList method