added viewshelper for pagination