paginates for better preformance