initial pagination and categories