class before and after paging separately+priority