Prepared result for pagination