paging directive now enclosed in its own scope