added pagging

I added pagging only for build type