REF design for pagination