added lab and examples for pagination