refs #1 : basic version of pagination