Paginator implementation; correct threads order