simplify requirement of pagination controller